package Q504

/**
 * 七进制数
 * @author 237378
 * @date 2022.5.12
 */
fun main(){
    println(Solution().convertToBase7(-7))
}

class Solution {
    fun convertToBase7(num: Int): String {
        return num.toString(7)
    }
}